import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

import router from './router.js'

//导入MUI样式
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'

//Mint-Ui 组件 样式 
import 'mint-ui/lib/style.css'
import { Header,Button,Toast ,Swipe, SwipeItem} from 'mint-ui';
Vue.component(Button.name, Button);
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
//导入组件
import app from './App.vue'


var vm = new Vue({
    el: '#app',

    render: c => c(app),
    router
})